const { request } = require("../utils/service.js");

// 获取轮播图
const getLbt = (data) => {
  return request("/mpuser/banner", "POST", data);
};

// 获取分类
const getFenlei = () => {
  return request("/wxuser/categroy", "POST");
};

// 获取热门活动
const getRmhd = (data) => {
  return request("/wxuser/hot_service_list", "POST", data);
};

// 获取商品列表
const getShopList = (data) => {
  return request('/wxuser/hot_service_list','POST',data)
};

module.exports = {
  getLbt,
  getFenlei,
  getRmhd,
  getShopList,
};
